import http from "@/utils/request";
export default {
  /**
   * 查询
   * @returns
   */

  async getleaveListApi(params) {
    return await http.post("/api/leave-anagement/list", params);
  },
  async getSaveListApi(params) {
    return await http.post("/api/leave-anagement/save", params);
  },
  async getDeleteListApi(params) {
    return await http.post("/api/leave-anagement/delete", params);
  },
  async getApproveListApi(params) {
    return await http.post("/api/leave-anagement/approve", params);
  },
};
